@extends('layouts.information')

@section('title','用户信息')

@section('content')
    <div class="row">
        <div class="col-md-9">
            <table class="table table-striped table-bordered">
                <tbody>
                <tr>
                    <th>Id</th>
                    <td>{{ $role->id }}</td>
                </tr>
                <tr>
                    <th>{{ trans('validation.attributes.name') }}</th>
                    <td>{{ $role->name }}</td>
                </tr>
                <tr>
                    <th>{{ trans('validation.attributes.display_name') }}</th>
                    <td>{{ $role->display_name }}</td>
                </tr>
                <tr>
                    <th>{{ trans('validation.attributes.description') }}</th>
                    <td>{{ $role->description }}</td>
                </tr>
                </tbody>
            </table>

            <ul>
                <li>
                    <a href="{{ route('role.index') }}">{{ trans('validation.attributes.back_to_list') }}</a>
                </li>
                <li>
                    <a href="{{ route('role.edit', ['id'=> $role->id ]) }}">{{ trans('validation.attributes.edit') }}</a>
                </li>
                <li>
                    {!! Form::open(['method'=>'DELETE'])!!}
                    <input type="submit" value="{{ trans('validation.attributes.delete') }}">
                    {!! Form::close()!!}
                </li>
            </ul>
        </div>
    </div>
@endsection


